<template>
  <view class="submit-button" @click="onClickButton">
    {{title}}
  </view>
</template>

<script>
  export default {
    name: "FooterBottom",
    props: {
      title: {
        type: String,
        default: '提交'
      }
    },
    data() {
      return {

      };
    },
    methods: {
      onClickButton() {
        this.$emit('onclick')
      }
    }
  }
</script>

<style lang="scss">
  .submit-button {
    background: linear-gradient(90deg, #347DFD 0%, #4EA0FF 100%);
    border-radius: 60rpx 60rpx 60rpx 60rpx;
    margin: 0 70rpx;
    padding: 20rpx 0;
    color: white;
    text-align: center;
  }
</style>
